

Pod::Spec.new do |spec|

  spec.name         = "TFY_PlayerViewKit"
  spec.version      = "2.0.4"
  spec.summary      = "视频播放器，合适各种类型的视频展示，如内涵类型，抖音视频类型，爱奇艺视频播放器。。。"

  spec.description  = "视频播放器，合适各种类型的视频展示，如内涵类型，抖音视频类型，爱奇艺视频播放器。。。"

  spec.homepage     = "https://github.com/13662049573/TFY_PlayerView"
  
  spec.license      = "MIT"

  spec.platform     = :ios, "10.0"

  spec.author             = { "田风有" => "420144542@qq.com" }
  
  spec.source       = { :git => "https://github.com/13662049573/TFY_PlayerView.git", :tag => spec.version}

  spec.source_files  = "TFY_PlayerView/TFY_PlayerViewKit/TFY_PlayerHeader.h"
  
     spec.subspec 'TFY_PlayerITool' do |ss|
         ss.source_files = "TFY_PlayerView/TFY_PlayerViewKit/TFY_PlayerITool/**/*.{h,m}"
    end

     spec.subspec 'TFY_PlayerControllerVIew' do |ss|
         ss.source_files = "TFY_PlayerView/TFY_PlayerViewKit/TFY_PlayerControllerVIew/**/*.{h,m}"
    end

     spec.subspec 'TFY_SmallView' do |ss|
         ss.source_files = "TFY_PlayerView/TFY_PlayerViewKit/TFY_SmallView/**/*.{h,m}"
    end

     spec.subspec 'TFY_TopBottomView' do |ss|
         ss.source_files = "TFY_PlayerView/TFY_PlayerViewKit/TFY_TopBottomView/**/*.{h,m}"
    end

  spec.resources = "TFY_PlayerView/TFY_PlayerViewKit/videoImages.bundle" 
  
  spec.frameworks    = "Foundation","UIKit"
  
  spec.xcconfig      = { "HEADER_SEARCH_PATHS" => "$(SDKROOT)/usr/include" }

  spec.dependency     "TFY_AutoLayout","TFY_Category"

  spec.requires_arc = true
end
